package com.top10.mapper;

import com.top10.entity.UserCart;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.top10.entity.vo.UserCartVo;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author ellen
 * @since 2018-10-07
 */
public interface UserCartMapper extends BaseMapper<UserCart> {

    /**
     * 购物车列表
     * @param userUuid
     * @return
     */
    List<UserCartVo> cartList(String userUuid);

    Double selectSpecialPrice(String goodsUuid);

}